package com.bx.implatform.growUp.entity;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.time.LocalDateTime;
import java.util.Date;

@Data
@Schema(name = "Bridge", description = "桥梁扩展信息")
public class Bridge {

    @Schema(description = "编号(构造物唯一编号)", requiredMode = Schema.RequiredMode.REQUIRED)
    private String id;

    @Schema(description = "编码(可以填第三方系统的路段id)", requiredMode = Schema.RequiredMode.REQUIRED)
    private String code;

    @Schema(description = "名称")
    private String name;

    @Schema(description = "机构编号")
    private String organId;

    @Schema(description = "道路编号")
    private String roadId;

    @Schema(description = "所属路养中心标识")
    private String maintCenterId;

    @Schema(description = "跨径组合")
    private String spanCombination;

    @Schema(description = "上下行")
    private String upDownStream;

    @Schema(description = "桥幅分类", allowableValues = {"特大桥", "大桥", "中桥", "小桥"})
    private String bridgeCategory;

    @Schema(description = "全长")
    private Double totalLength;

    @Schema(description = "全宽")
    private Double totalWidth;

    @Schema(description = "设计荷载(如:公路-Ⅰ级(04规范))")
    private String designLoad;

    @Schema(description = "最近技术状况", allowableValues = {"1", "2"})
    private Integer latestTechCondition;

    @Schema(description = "养护等级", allowableValues = {"1", "2"})
    private Integer maintenanceLevel;

    @Schema(description = "建设单位")
    private String constructionOrg;

    @Schema(description = "设计单位")
    private String designOrg;

    @Schema(description = "施工单位")
    private String constructionUnit;

    @Schema(description = "建成时间")
    private Date completionTime;
}